package day3;

import java.util.Scanner;

public class t1 {
    public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      System.out.println("请输入会员等级:");
      int level = sc.nextInt();
      int money =1000;
      if(level==1) System.out.println("请支付："+money*0.9);
      else if (level == 2) System.out.println("请支付："+money*0.8);
      else if (level == 3) System.out.println("请支付："+money*0.7);
      else  System.out.println("请支付："+money);

      }
    }

